package com.bwda.dsrs.systemservice.api;

import com.bwda.dsrs.systemservice.domain.exception.SystemServiceException;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: yangjun
 * @create: 2019-06-06 16:18
 */
@Component
public class LogServiceApiFallback implements LogServiceApi {
    @Override
    @Async
    public void handleLogForCache(LogTemplate logTemplate) throws SystemServiceException {
        System.out.println("-----------handleLogForCache-fallback------------");
    }

    @Override
    @Async
    public String testHello(Integer id) {
        return null;
    }
}


